<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	
<ui:composition template="/template/template.xhtml">
	<ui:define name="header">
		<div id="menu">
			<ul>
				<li class="current_page_item"><h:outputLink value="index.xhtml"><h:outputText value="#{msg.home}"/></h:outputLink></li>
				<li><h:outputLink value="login.xhtml"><h:outputText value="#{msg.entrar}"/></h:outputLink></li>
				<li><h:outputLink value="about.xhtml"><h:outputText value="#{msg.about}"/></h:outputLink></li>
				<li><h:outputLink value="contato.xhtml"><h:outputText value="#{msg.contato}"/></h:outputLink></li>
			</ul>
		</div>
	</ui:define>
	<ui:define name="content">
		<div class="post">
			<h2 class="title" style="text-align: center">
				<h:outputLink value="#">
					<h:outputText value="#{msg.bemvindo}" />
				</h:outputLink>
				
				
				
			</h2>
			<h2 class="title" style="text-align: center">
				<h:outputLink value="#">Acervo Digital de Filmes</h:outputLink>
			</h2>
			<div class="entry">
				<p style="text-align:justify"></p>
				  <p>
						<p:growl/>
						<h:panelGrid border="0" columns="1" >
							
							<h:panelGroup>
								
								<p:commandButton value="Popular Banco 1" actionListener="#{PopularBancoBean.pb1}" /> <br/><br/>


								
							</h:panelGroup>
						</h:panelGrid>
						
						<h:panelGrid border="0" columns="1" >
							
							<h:panelGroup>
								
							
								<p:commandButton value="Popular Banco 2" actionListener="#{PopularBancoBean.pb2}" /> <br/><br/>
								
								
							</h:panelGroup>
						</h:panelGrid>
						
						<h:panelGrid border="0" columns="1" >
							
							<h:panelGroup>
								
								
								<p:commandButton value="Popular Banco 3" actionListener="#{PopularBancoBean.pb3}" /> <br/><br/><br/><br/>
								
							</h:panelGroup>
						</h:panelGrid>
				  </p>
			</div>
		</div>
		
		<p:idleMonitor timeout="300000" onidle="idleDialog.show()" 
			onactive="idleDialog.hide()" />

		<p:dialog header="Programação com Primefaces" resizable="false"
			widgetVar="idleDialog" modal="true" width="400">
			<h:outputText value="É 10, tem nem para onde \o/ kkkkkkk" />
		</p:dialog>
	</ui:define>
</ui:composition>

</html>